//
//  PSCell.h
//  Btpin
//
//  Created by Vic on 2019/3/12.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^tapBlock)(void);

@interface PSCell : UIView

@property (nonatomic, copy) tapBlock _Nullable tap;
@property (nonatomic, strong) UITextField * _Nullable textField;


//- (instancetype)initWithFrame:(CGRect)frame title:(nullable NSString *)title text:(nullable NSString *)text placeholder:(nullable NSString *)placeholder cellType:(PSCellType)cellType tap:(void (^)(void))tap;
- (instancetype _Nullable )initWithFrame:(CGRect)frame title:(nullable NSString *)title text:(nullable NSString *)text placeholder:(nullable NSString *)placeholder cellType:(PSCellType)cellType;

@end
